<script setup lang="ts">
import { ref, reactive } from 'vue'

const num = ref(0)
const state = reactive({
  list: []
})
const add = () => {
  num.value++
}

</script>

<template>
  <div class="freestyle">我就是FreeStyle组件 Yoo</div>
  <button class="btn" @click="add">{{ num }}</button>
</template>

<style lang="scss">
.list{
  margin:0 auto;
  li{
    border:1px solid #ccc;
    padding:10px 0;
    margin:10px 0;
  }
}
.freestyle {
  color: blue;
  font-size: 24px;
  font-weight: 600;
}

.btn {
  width: 50px;
  height: 50px;
  border: 1px solid green;
}

.panel {
  font-size: 14px;
  line-height: 30px;
  width: 80%;
  margin: 0 auto;
}

.cell {
  font-size: 12px;
  line-height: 20px;
  border-bottom: 1px solid #eee;
}

.cell h2 {
  font-size: 16px;
}
</style>
